package com.zpark.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lx
 * @since 2024-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("member")
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户名
     */
    private String usname;

    /**
     * 用户密码
     */
    private String psword;

    /**
     * 昵称
     */
    private String petName;

    /**
     * 头像地址
     */
    private String avatarUrl;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * 手机号码
     */
    private String mobile;

    /**
     * 邮箱验证0未验 1已验
     */
    private Integer emailVerify;

    /**
     * 手机验证0未验 1已验
     */
    private Integer mobileVerify;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
